package com.aizhixin.lab.project.course.repository;

import com.aizhixin.lab.project.course.entity.TeacherModuleTaskFile;
import com.aizhixin.lab.project.course.entity.TeacherProjectModule;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TeacherProjectModuleRepository extends JpaRepository<TeacherProjectModule,String> {
    List<TeacherProjectModule> findByProjectIdAndDeleteFlagOrderByModuleNo(String projectId,Integer deleteFlag);
    Integer countByProjectIdAndDeleteFlag(String projectId,Integer deleteFlag);
    TeacherProjectModule findByIdAndDeleteFlag(String id,Integer deleteFlag);
}
